Added citation code to end.