input setup