initialised int variables to 0