Going to rewrite everything, delete this for now here!