add value to returns when function returns a non-void