simulation seems to be working