dice added and many bugs fixed