old version with interactive buttons working