incorrect attempts at problems 3 and 4