implemented menu system