class execises 5-7