getting point's values