add some test css, better logic