added a few more code bits
idk what this did