create method for sentence