adding menu handlers