purrrty code
save energy buffer
fixes #65