Removed unneeded data, added my algorithm