added DrawTable header and implementation