added loop to interface