solutions for the EBI exercise