added expect to global