for melissa's php class