changes and more detailed log stuff