Added PHP methods