added local copies of legends