added and tested algorithmData stuff