added modelsim simulation