Status check

implemented quick and dirty version of the status check.