changed calculations