adding txt methods