input expanding