improved docs & delete or private codes