Stable. Removed test code