tweaked partial to make rpec tests pass again