added annotation functionality