continued work on PHP approach