global changes to logic