debug
repaire complete; 
add time evaluation