Final implementation (performance eval)