create initialization func and fill it