working on passing status message to view