modified for dynamic fb id declaration