added prob 3