remove main class and require 1 arguments