Move code for parsing a itsamcs item to a new method would definitely with code readability.