added skeleton code for user interfacing Regexp