added other methods of computation