theoretical part finished