Fixed spelling & naming & added code reference