added lines in loopyloop