added point function