some more preparation work for fronted