fixed bounds on the 'random' prompt and added 'randomAsText' prompt