Algorithm modification for future changes