addded local message store