move routines to external files
add new fsi test with internal bc