Filter, drop while, take while