added php counter