lol i hope this works (added algorithm stuff)