preparing to add layer legend