made pos_moves5 work as expected