implemented assignment menu