takewhile import