shift bool now a global variable

fixes #44