Working Code in new specification