replace EMPTY_MAP constant with method-call
code styling