Add preview function for gamyy and bjyy