fix show functions and test them