creating simulation tutorial