Adding in reference info and fixing some things