passing everything locally