defining ParserError.
using choice.
definding DB.
new DB data type.