added a file that works with parameters