first working version.  Status parameter working