status function for system status