Fixed planer
Added logging