preparing repository