updated .get() commands and Added logs.