one bug fix on a draw and adding a more readable version