Move calling of method to another function to allow us to call it multiple times.