loop2 added