pagoda and changed php