simplifying and testing the call