handle size error, consistent variable names