implemente create_plane
clean code