Working on the computation functions