added authors email

fixed minor bug in for-loop