method of orthogonal projection