new code file for naive client