changed variable types