added answers code