modified map to include more modes