adding source code for utility