added get diff functions