change simulation functions