Wrong variable names - resolved.