create a text file for undestand the logic for all