Compacting the methods