change logic for main photo