#116: side effects, fix to let compile