remove point and use array