cleaned up the references