added idea of streams. other misc.
remove local variables from dependencies.