map fragment code working