color maps no longer return null, refactoring