algorithm is sick now
removed Main.class