added names for better readability
added static keyword to a static method