use archive table for sharerate calcs
fixing merge conflict from next to branch