some very basic mapping in R