add basic parameters and functions