Loading theta in ex4.