added bootstrap and fixed time data type