determine map variable instead of hardcoding