removed use of exceptions package
use 'die' instead of propagating error message to exceptions package for error handeling