fxi
move prompt code to other file