drawing objects propertly