removed mutable parameters, resolves #56