Fixes typo, adds more helpful code inline