Most of it is there I think
gives the class code