Added verification option and fixed sum bugs