Changing raising to another part of application