error handling and changed version to 2