adds a convenience method