energy and frequency