added functionality and implemented changes to Global Error