put expectations inside within block