making sure variable is always initialized (even in error case), and updated comments.
updated projects