added map type control