code related to my php class