added the output screen activity

added random function