optional injection pattern.