spring autowiring works fine