added mark-functionality