pass dictionary and dependencies to createFill