added user loop