initial implementation of bootstrap switch