replaced old requires decorator with new one and fixed issue with raising error when at least one group has been completed