Pell And Gregory Classification