exported fg/bg into layers