changed control flow