allow gather to set values better