took me a while but i figured it out...