refactoring for implementing memory fault