convert string coming in