very basic calculations