Removed the outisde loop print