register the call in the constructor