extracted function for printing banner