created point and test flag