new code, updated readme