added solution to q4