initial ESP handling