make insights constructor property of global object