added timer, counter to pj2