adjusted line and click function.