getting it sort of working