separate loop for trivial