merge with bare_metal