get it working in the right way