changed formatter to MessageFormat