added loadPrompts method
minor changes