it works now, need to refine it. thanks!