move status/OK/ERROR to bottom to improve documentation readability
add CLAMP() macro