method to earn by writing