added single table inheritance