adding bootstrap code to main