removing prototype inheritance