initial work on fbgen