handles args