Simplified getAlpha and getBeta to take only 1 integer argument