data, function, menu setup