transfer function init