I thought of it. From the other hand template is not a proper place to declare functions