Some mess with repository