can now accept string prompt