moved code works
it seems to work