fixed up start function