Revision 4.0.4

Added constructor to customclass