Added comments in util.rs