wrong way of accesing the lastDay variable
redundant bracket