resolving another function call error.