Removed unecessary Seq.map