added requirements gui but it has an infinite loop