for oct 6 class excecise