for melissa's PHP class