some algorithms to test