added GMAP SAM support