move startup timer up code