finally got it to work error free