added class based bootstrap functionality