reorganized the parameters for creating 2D objects