changed value to double