specs runs on global scope