Adding more php functions