beginning to tie up FE and BE