implemented frame division, null-crosses and frame-energy