brepl work in progress