move systemstatus logic