removed the old PHP code