refactored __str__ functions for specs