made one method to parse the information