added simple PHP code..procedural