moved notification class to private class