Added the misc. stuff

deleted extra stuff.  Added the log, needs testing