add algorithm to project