removed
added loops