adding 3D features & draw a rectangle