jc profess of adding the base classes from the php code