MAde the greeting label more efficient and updated the inheritence