Added repository to views