added display messages and alert mechanisms