mathematical manipulation