draw rect, circle and pen