Created trio method and cleaned up PedClass constructor