added map flipper