added prblem1 and 2