Removed speculative execution to simplify code (can readd later)