improved flex button