works but the next button doesnt do anything.