Changed logic with Hostel object (direct reference in constructor)