try placing function realization with .h