dont export internal constants and functions
removed unreachable breaks