box - replace main method