modular shape class is working