finally get it kinda working