updated with show hide javascript