first version of mapping