Log handling & assertions are todo