version that runs, but is not correct maybe