Fixed the bugs and changed how ids work :)