added random button to non-local version