ex 6 seems to be working fully