refactor and bind name phone