first attemt at creating a repository