added exception manager
made sure code works with github