made some small tweaks and corrections