partial template work