I edited some PHP methods