commit for dan, algo does not get input field