beginning of heist code