use float instead for create point object