Move get function below all logic.