adjusted file to php