completed the theoretical exercies