changed delta to 0