returning 0 when no argument is given