added initial ex.pect function