calculations adjusted