Creating flash words functionality