added sample with explicit specialization class method