Added check box object
Added slider object
Added clamp function