Create general algorithms