added cpu cache and parse arguments