modefied top.v