remove side-effect from body of function ;)