add logs
 have a constant variable for -1
 Initialize static mas at the time of declaration