calculate the scope and put the result where (it returns a void)?