moved display options to class