solved q4.12