Removed obs code