Updated 7 segment sample