added annotation function; about to begin work on second pass