Write a simple loop