Added working version.