first functionality - sidebar tree