Adding srand & better names.