Testing input adding original function from codex