bunch of work
balls
added parse_algorithm method, sort of doesnt compile