Added clear lines option