working with interrupt simulate