added template for assignment