refactoring statusInfo stuff