parse argv for implementation