modified algorithms and numbers