implemented static modifier and return