updated to pass args