time x energy LARK code