adding serial numbers to commands, need to deal with two entry issue