adapted configuration
changed interface for preview controller