rake task fully functional