Using a class to output love