added some calc methods