adjusted it to be single table inheritance