added time package, and put Prelude qualifier for map (Prelude.map)