added method for title