added a render drawPotValue method