Code condensing