building and configuring eap2