make selecting an input more promise like