map support, error handling