add errorhandling and translation system