added the parsing of hostel cut + test + refactoring