fully working cross controller example