Code examples for portfolio