changed map to fit relay