removed reference passing to method call