added a method that can be used within the framework