got it working but not really