support layer sharing