fix variable reference check
add notes
mv notes to dir notes
add notes