trying to make onlined template work