add some methods needed for bootstrap