dependencies added, leaf fixed