updated to include delta