create method getContent