factored out different sections of portfolio and settings