Make axis and dimensiosn configurable