simpler implementation of omit?