Added view for custom database