Added uility function
Added uility function