bootstrap func now works