algorithms added to serverBackend. hopefully correctly.