adding new method for testing.