Setting up required parameters