v 0.0.3 define class dynamically