start of repository and transformer patterns
small tweeks