enhacements the sample using the capabilites of the gkeys library