Changed decimal from input to random gen