bugfix for struct and class confusion
use of class not struct