refactoing getDelta into core types