mutability fix
added limit/offset