Before using templates