added random story selection functionality