hs > added constrains to askInput and moved to utils