got it to sort of work