updated version
added show and hide form