added initial scheduler that only works on startup