updated probability and fixed waiting time
draw image on screen and initilize rect