modified play template