Expecti function works