Made improvements given material about rack objects by adam hawkins