added some status functionality
status functionality