done, but have some totality checking issues