added email format function problem