smarter detection of whether something was passed to the method