functions to files, add flanker component