Removed an extra While(True)