further modifications to the click function on projects