Added Inner and test