added functional menu