added filament code