hide everything not needed
added event handlers for testing