added exp and mul handling for numbers