Added insert method both for integer and String