now have all functions needed for montaging maps working without display