Added autokey decode