Adding ForLength and WhileLength features