added bootstrap method