got the basic thing working