calling functions refactored