string util code added