bulk of code