added support for pseuso classes