added show(), connect() now accepts  and