error-handling and stuff like that ...