Got the basic thing working