parsing double imput works