added random number generator
updated layout