final base

started the final loop stuff