add parameter logics
Merge pull request #2 from corrupt952/develop

add parameter logics