implement status spinner