cashed map so it doesn't crash on return