added NSHost class