processing both args[0] and args[6]