import carp and croak - makes things a bit nicer