got it working to some degree