Added excplicit conversion between variables

Removed implicit conversion of variables to help the compiler