added proper signing to variables and special numbers