Collections of helpful codes