return 0 when not starting x