Changed to include 2 primitive variable types and type conversion