Adding partial template conditionally
solve third challenge