added input helpers