realized that it will be better to create the wrapper class first