got select buttons working