Use staus property instead of hadcoded.