learning how to do repository