add dependency to structure