moved init call