properly create each console function for each key