add chalange type as input