beginning switch of front + backend