add main to check roll,query and help