Just AdiabaticWork and everything should be calculated here, and you forgot to close the bracket :P