Reads args correctly.