got a simple version working
working version (hopefully)