bottstrap styles and more logic