adding lecture endpoint