Added option to select algorithm