added template smarting.php