Add level algorithms