merge init-functions