separated lxc code