added getString method to Recipe