replaced terjedelem with limit in code.