looks like the prompt definition needs to be at the end to work!