resolved problem with closure...