Added hide and show functions.