Output 3K added, minor fixes in 5B