prepare for BAE