think it works - compiles, but cannot simulate