made output and params non mandatory