rake functions