fixing #26: code cleanup

Oh yeah maybe that's cleaner. I guess it depends on what the contract is intended to be. Is the array usage needed anywhere, or is `IEnumerable<T>` sufficient?