Better docs. Use takewhile instead of break