added points functionality
test dialog -check