13.07.2014 change total logic