Added repository layer