update readme
add scratch implementation