add dynamic searching
add example for setting prisoner served time to total sentence