move code from places to map screen