updated parse logic for beee's histo