easier helper functions, better tests and status messages.