moved srand process into app::start