generally speaking duplication of code in not okay - but I agree this is topic for another pr