add hasPassedByParameter