Start implementing resolveSubs()