making both getter optional as a parameter