the autovired version