cleaned/added comments php code