finally got it working