reviewing some php; please ignore