added framework for wrappers