first idea to implement sepa. NEEDS TESTING