implemented unimplemented methods in the php scripts folder