receives ouptut option