maybe variable names are wrong