reinstates the repository method and enforces the format