victorious in creating an object to maintain state! created a simple key logger object.