changing from ed3 to projfolio, adding some helpers