Created struct for parameters