algorithm & simple software