up to log done, application now hold are the relavent parts