Remove promises from portfolio code