Algorithm option now works