different view for lib vs pub