updated loop4 in master