Boilerplate simulator reference implementation