beginning converting all items to php