kinda got it working