iki yöntemde çalışır. ister benim gösterdiğim gibi function içinde değişkene atayıp döndür, istersen callback yöntemi ile döndür.