updated HossViewController implementation