attempt at incorporating partials