prob2 not working
working prob2