status check

updated PR from @ametaireau #6