classes added
options as object
cancel class
remove unsed variable