-removed empty line before the functions closing curly brace