added point constructor