Tiny bit of refactoring. Changed function name.