debugging
move is getting calculated but possibly wrong