changed ^ to 0