moved start functions to correct spot for iphone