added $argv into the coding