running simulation once