Remove duplication in methods
Update handler l to length