completed code for drawing client side agent POV