modified to initiate driver in constructor