removed mutable variable