making the brepl work