bootstrap code snippet