modified code for dart board