don't really need to capitalize "algorithm" :)