passing point.cpp