Added get_percentage and get_split functions.