made a few parameters changeable