added two table methods