Loop & bg problem

Could you please post the entire code (setup function and import) and format it with </> in the message editor like this :

println("Hello World!");

Thanks