update, not working completely still needs to fix helper functions wtf is up with those and c plus plus?