Adding simple jump logic