Added portfolio loop