removed map require code