adding serial code