adding mixin for checkbox