optimized the omit() method