updated cv, used event delegation