Updated create_xyz to create