limit to 20 input sequences and log