move comments into php per code review