                 continue
             }
             
-            if firebasePicture.status == FDatabaseModelPicture.Status.synced
+            let pictureStatus:FDatabaseModelPicture.Status = firebasePicture.status
+            let pictureCreated:TimeInterval = firebasePicture.created
+            
+            if pictureStatus == FDatabaseModelPicture.Status.synced
             {
                 if let loadedItem:MPicturesItem = self.items[pictureId]
                 {

    
    static let sharedInstance:MPictures = MPictures()
    var items:[PictureId:MPicturesItem]
    
    private init()
    {
        items = [:]
    }
    
    //MARK: private

    private func comparePictures(picturesMap:[PictureId:FDatabaseModelPicture])
    {
        var items:[PictureId:MPicturesItem] = [:]
        var references:[MPicturesItemReference] = []
        let picturesIds:[PictureId] = Array(picturesMap.keys)
        
        for pictureId:PictureId in picturesIds
