Title: Theory and practice of heat engines