Compacted unnecessary code