added dice validation in upper section