created spinner and checkall box for papers