Add showpic function