removed result variable