calc code for MORE