added ability to compile into target lanuage, test passed