added map fragment code