removing the extra log initalization