refactoring aya_keyword_block and replacing tabs with spaces