added support to clear expectations