checked template and functionality.