autowiring commit