changed to multitable inheritance