time based loop working around the token limit of 500
0.2.0