added changes on the php