add basic code queue