A.I.M.S algorithms