Use templates instead of concatenating strings