added input to change spread