repl moved to seperate file. added pi