added array, variable basic code