wroted class of map