basic log cases done