switched tree to use images