got ex2 working