removed expect block