Add logging and assertions