Learning through simulation and formative assessment