removed unnecessary running boolean