Saver way of getting the code parameter